#ifndef _MAIN_H
#define _MAIN_H

#include <p18cxxx.h>

#define FOSC  (float)8000000
#define TOSC  (1 / FOSC)
#define FCY   (FOSC / 4)
#define TCY   (1 / FCY)
#define TMR2_PRE 1
#define ADC_REF 5

#define nop() _asm NOP _endasm
typedef enum _bool {false = 0, true = 1}bool;

#endif
